package ch4.ex22;

import static ch4.print.Print.*;

public class SwitchEnum {
	public enum EnumBit {
		ONE, FIVE, TEN, TWENTY, FIFTY, HUNDRED
	}
	public static void main(String... args){
		for(EnumBit b : EnumBit.values()){
			switch (b) {
			case ONE:
				println("$1");
				break;
			case FIVE:
				println("$5");
				break;
			case TEN:
				println("$10");
				break;
			case TWENTY:
				println("$20");
				break;
			case FIFTY:
				println("$50");
				break;
			case HUNDRED:
				println("$100");
				break;
			default: break;
			}
		}
	}
}
